home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000092_news@columbia.edu _Sat Mar 4 14:42:38 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA08052
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Mar 2000 14:42:37 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA21138
  7.     for kermit.misc@watsun.cc.columbia.edu; Sat, 4 Mar 2000 14:31:38 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jmccanta@immunex.com (Jay McCanta)
  10. Subject: Re: bug with Echo on Solaris
  11. Message-ID: <38c15efa.2305895@jayathome>
  12. Date: Sat, 04 Mar 2000 19:29:55 GMT
  13. To: kermit.misc@columbia.edu
  14.  
  15. On Sat, 04 Mar 2000 00:04:32 -0800, Jay McCanta <jmccanta@Immuenx.com>
  16. wrote:
  17.  
  18. I believe this is an UNIX buffering issue. With this script...
  19.  
  20. set input echo on
  21. echo 1
  22. echo 2
  23. set host ts:3000
  24. echo 3
  25. input -1 {bye}
  26. echo 4
  27. exit
  28.  
  29. Looking at the log during the INPUT command, line 3 is not there.
  30. While waiting for {bye} in thee input stream, the input stream appears
  31. in the log.  Only after the script exits, do the 3 and the 4 appear in
  32. the log.  
  33.  
  34. Is there a way to flush the log after every echo?
  35.  
  36. >I believe this is a bug.  I'm looking for workarounds / fixes /
  37. >corrections.  
  38. >
  39. >With a script file, like this...
  40. >
  41. >echo {line one}
  42. >echo {line two}
  43. >set host  ts:3000
  44. >echo {line three}
  45. >exit
  46. >
  47. > ... I get different results.
  48. >
  49. >When run from a shell (kermit + fred.ksc), all echo's are shown. 
  50. >
  51. >When run with output redirected (kermit + fred.ksc >fred.lis) all
  52. >echo's are shown.  
  53. >
  54. >When run with detached and with output redirected
  55. >(kermit + fred.ksc >fred.lis &), echos stop after the "SET HOST"
  56. >command.  
  57. >
  58. >Bug?  Workaround?  No, that's what's supposed to happen?
  59. >
  60. >Jay McCanta
  61. >Immunex Corporation
  62.  
  63. -------------------------------------------------------
  64. Jay McCanta
  65. jmccanta at gte dot net
  66.  
  67. I used to hate SPAM and wished someone would do something about it,
  68. then I heard our state legislature was going to do something.  Now
  69. I am scared.  There are worse things in life than SPAM.